//路由配置
ryAdmin.config(function($routeProvider){
    $routeProvider.
        when('/User/index',{
            templateUrl: 'view/user_index.html'
        }).
        when('/AuthManager/index',{
            templateUrl: 'view/authmanager_index.html'
        }).
        when('/Menu/index',{
            templateUrl: 'view/menu_index.html'
        }).
        when('/Members/index',{
            templateUrl:'view/members_index.html'
        }).
        when('/Course/index',{
            templateUrl: 'view/course_index.html'
        }).
        when('/Course/addcourse',{
            templateUrl: 'view/course_add.html'
        }).
        when('/Teacher/index',{
            templateUrl: 'view/teacher_index.html'
        }).
        when('/Teacher/addTeacher',{
            templateUrl: 'view/teacher_add.html'
        }).
        when('/Withdraw/director',{
            templateUrl: 'view/director_index.html'
        }).
        when('/Withdraw/seller',{
            templateUrl: 'view/seller_index.html'
        }).
        when('/Score/index',{
            templateUrl: 'view/score_index.html'
        }).
        when('/Score/consume',{
            templateUrl: 'view/score_consume.html'
        }).
        when('/Money/index',{
            templateUrl: 'view/money_index.html'
        }).
        when('/Income/forum',{
            templateUrl: 'view/income_forum.html'
        })./*
        when('/Income/company',{
            templateUrl: 'view/income_company.html'
        }).*/
        when('/Income/course',{
            templateUrl: 'view/income_course.html'
        })  ;
});